package com.longdaji.decoration.bean;

import java.util.List;

/**
 * Created by Kanade on 2018/5/21 0021.
 */

public class Balance {

    /**
     * totalBalance : 200.00
     * records : [{"id":25,"userId":"a19f0543ff83484cb8adfa79bfe4784c","fromType":"管理员操作","type":"1","amount":"200","deliveryTime":null,"createDate":1526571650000,"delFlag":0}]
     */

    private String totalBalance;
    private List<RecordsBean> records;

    public String getTotalBalance() {
        return totalBalance;
    }

    public void setTotalBalance(String totalBalance) {
        this.totalBalance = totalBalance;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class RecordsBean {
        /**
         * id : 25
         * userId : a19f0543ff83484cb8adfa79bfe4784c
         * fromType : 管理员操作
         * type : 1
         * amount : 200
         * deliveryTime : null
         * createDate : 1526571650000
         * delFlag : 0
         */

        private int id;
        private String userId;
        private String fromType;
        private String type;
        private String amount;
        private Object deliveryTime;
        private long createDate;
        private int delFlag;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getFromType() {
            return fromType;
        }

        public void setFromType(String fromType) {
            this.fromType = fromType;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public Object getDeliveryTime() {
            return deliveryTime;
        }

        public void setDeliveryTime(Object deliveryTime) {
            this.deliveryTime = deliveryTime;
        }

        public long getCreateDate() {
            return createDate;
        }

        public void setCreateDate(long createDate) {
            this.createDate = createDate;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }

        @Override
        public String toString() {
            return "RecordsBean{" +
                    "id=" + id +
                    ", userId='" + userId + '\'' +
                    ", fromType='" + fromType + '\'' +
                    ", type='" + type + '\'' +
                    ", amount='" + amount + '\'' +
                    ", deliveryTime=" + deliveryTime +
                    ", createDate=" + createDate +
                    ", delFlag=" + delFlag +
                    '}';
        }
    }
}
